package fa.wangxing.leaf.Service;

import fa.wangxing.leaf.pojo.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@Component
public interface UserService {
    void register(User user);
    boolean isuser(String userName);
    User login(String userName, String password);
}
